package com.ruoyi.project.bill.config;


import com.ruoyi.project.bill.listerner.impl.CommonLoginDetleteListerner;
import com.ruoyi.project.bill.listerner.impl.CommonSaveListerner;
import com.ruoyi.project.bill.listerner.impl.CommonSubmitListerner;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @Author: yp
 * @CreateTime: 2025/7/3
 * @Description: TODO
 * @Version: 1.0
 */
@Component
public class AutoBeanConfig {

    @Bean(CommonSaveListerner.BEAN_NAME)
    public CommonSaveListerner getCommonSaveListerner(){

        return new CommonSaveListerner();
    }
    @Bean(CommonSubmitListerner.BEAN_NAME)
    public CommonSubmitListerner getCommonSubmitListerner(){

        return new CommonSubmitListerner();
    }
    @Bean(CommonLoginDetleteListerner.BEAN_NAME)
    public CommonLoginDetleteListerner getCommonLoginDetleteListerner(){

        return new CommonLoginDetleteListerner();
    }

}